-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
3.2.0
-
Code
-
Classes
- Cart
Total Complexity |
68 |
Dependencies |
7 |
Dependents |
9 |
Total lines |
433 |
Lines of code |
206 |
Logical lines of code |
117 |
Comment lines |
117 |
Methods |
31 |
Properties |
9 |
Methods 31
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addSingleItem() |
A |
49 |
13 |
29 |
__clone() |
S |
53 |
6 |
28 |
sortItems() |
S |
61 |
5 |
13 |
addFreeItem() |
S |
59 |
4 |
14 |
addToCart() |
S |
66 |
4 |
9 |
hasImmutableChangedItems() |
S |
64 |
4 |
10 |
addRuleTriggerCoupon() |
S |
72 |
3 |
5 |
setItems() |
S |
67 |
3 |
8 |
removeOriginCoupon() |
S |
68 |
2 |
7 |
removeRuleTriggerCoupon() |
S |
68 |
2 |
7 |
isEmpty() |
S |
78 |
2 |
3 |
getShippingAdjustments() |
S |
82 |
1 |
3 |
getCurrency() |
S |
82 |
1 |
3 |
setCurrency() |
S |
81 |
1 |
3 |
getFees() |
S |
82 |
1 |
3 |
removeAllRuleTriggerCoupons() |
S |
81 |
1 |
3 |
addFee() |
S |
80 |
1 |
3 |
getCoupons() |
S |
82 |
1 |
3 |
addCoupon() |
S |
80 |
1 |
3 |
__construct() |
S |
66 |
1 |
9 |
addShippingAdjustment() |
S |
80 |
1 |
3 |
destroyEmptyItems() |
S |
73 |
1 |
5 |
purgeMutableItems() |
S |
73 |
1 |
5 |
getMutableItems() |
S |
71 |
1 |
6 |
getContext() |
S |
82 |
1 |
3 |
getFreeItems() |
S |
82 |
1 |
3 |
getItems() |
S |
82 |
1 |
3 |
getOriginCoupons() |
S |
82 |
1 |
3 |
removeAllOriginCoupon() |
S |
81 |
1 |
3 |
addOriginCoupon() |
S |
80 |
1 |
3 |
getRuleTriggerCoupons() |
S |
82 |
1 |
3 |